package com.jiyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiyun.dto.AnnouncementDto;
import com.jiyun.model.xitong.Announcement;

import com.jiyun.model.xitong.dto.AnnouncementQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 针对表【-Announcement】的业务操作Service
 *
 * @author ???
 * @since 2024-09-26
 */
public interface IAnnouncementService extends IService<Announcement> {
    /**
     * 分页：查询当前页数据
     * @param query 查询参数
     * @return
     */
    public IPage<Announcement> getPageList(AnnouncementQuery query);

    IPage<Announcement> findAllAnnouncement(AnnouncementDto announcementDto);
}
